/*
 * All content copyright http://www.j2eefast.com, unless
 * otherwise indicated. All rights reserved.
 * No deletion without permission
 */
package com.j2eefast.flowable.bpm.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * <p>知识模块上传资料</p>
 *
 * @author: guoshenghui
 * @date: 2021-05-16 00:02
 * @web: http://www.letukeji.cn
 * @version: 1.0.1
 */
@Data
@TableName("project_information")
public class InformationEntity {
	@TableId(value = "id",type = IdType.AUTO)
	protected Integer id;
	//文件名称
	@TableField(value = "title")
	protected String title;
	//文件描述
	@TableField(value = "descript")
	protected String descript;
	//类型
	@TableField(value = "type")
	protected Integer type;
	//图片地址
	@TableField(value = "url")
	protected String url;
	//文件类型
	@TableField(value = "category")
	protected Integer category;
	//用户id
	@TableField(value = "user_id")
	protected Integer userId;
	//用户名
	@TableField(value = "username")
	protected String username;
	@TableField(value = "size")
	protected String size;
	//上传时间
	@TableField(value = "dateline")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
	protected Date dateline;
	//上传资料归类
	@TableField(value = "kind")
	protected String kind;
	//学习视频归类
	@TableField(value = "mold")
	protected String mold;


}
